home *** CD-ROM | disk | FTP | other *** search
- /* This file is part of the XText package (version 0.8)
- Mike Dixon, April 1992
-
- Copyright (c) 1992 Xerox Corporation. All rights reserved.
-
- Use and copying of this software and preparation of derivative works based
- upon this software are permitted. This software is made available AS IS,
- and Xerox Corporation makes no warranty about the software or its
- performance.
- */
-
- #import <objc/Object.h>
-
- /* The XTDemo object is the target of the button, the delegate of the app,
- and the delegate of the window -- and has one method for each role.
-
- The xtext instance variable is actually initially set to the XTScroller
- containing the XText (since that's the best IB can do); the appDidInit
- method adjusts it to point at the XText directly.
-
- initialAction is shared by xtext and the window's fieldEditor (so the
- same key bindings are available in both).
- */
-
- @interface XTDemo:Object
- {
- id xtext;
- id initialAction;
- id cmdField;
- }
-
- - doIt:sender;
-
- - appDidInit:sender;
-
- - windowWillReturnFieldEditor:sender toObject:client;
-
- @end
-